const mock = require('mockjs');
const fileType = {
    id: 1,
    type: 'file|folder',
    subFix: 'png',
    size: '123',
    name: '文件夹',
    createTime: 'string',
    parentId: '123'
}
module.exports = [{
    path: '/test',
    method: 'get',
    callback: (req, res) => {
        let data = mock.mock({
            'string|1-10': '1'
        });
        res.send(JSON.stringify({dd: 'dd', data: data}));
    }
}];